import React from 'react'

import {BrowserRouter} from 'react-router-dom';

import RouterView from './router-view'

import routeConfig from './router-config'

function Router(){
    return <BrowserRouter>
        <RouterView routes={routeConfig}></RouterView>
    </BrowserRouter>
}

export default Router